import { defineStore } from "pinia";

export const user = defineStore("user", {
  state: () => {
    return {
      user: {},
    };
  },
  getters: {},

  actions: {
    
  },

  persist: {
    enabled: true,
    detached: true,
    strategies: [
      {
        key: "balance",
        storage: localStorage,
        paths: ["balance"]
      }
    ]
  }
});
